package cn.ulc.socket.weapp.service;

import cn.ulc.socket.weapp.model.dto.AddressDTO;
import cn.ulc.socket.weapp.model.dto.AddressListDTO;
import cn.ulc.socket.weapp.model.dto.CityListDTO;
import cn.ulc.socket.weapp.model.param.AddressSaveParam;

public interface AddressServ {

    Boolean save(AddressSaveParam param);
    Boolean update(Long id,AddressSaveParam param);
    Boolean deleted(Long id);

    CityListDTO findCityList();

    AddressListDTO findList();

    AddressDTO findDetail(Long id);
    AddressDTO findDefaultAddress();


}
